<template>
  <div class="confirm">
    <p class="text font-large26">确定删除此项目吗？</p>
    <dialog-button-click @btnClick="del"/>
  </div>
</template>

<script>
import DialogButtonClick from "./DialogButtonClick";

export default {
  name: "DialogConfirmView",
  components: { DialogButtonClick },
  methods: {
    del(type) {
      this.$emit('callback',type)
    }
  }
}
</script>

<style scoped>
.confirm {
  width: 700px;
  height: 300px;
  background: #FFFFFF;
  box-shadow: 1px 20px 20px 0 rgba(0, 0, 0, 0.05);
  border-radius: 40px;
  position: absolute;
  top: 30%;
  right: 50%;
  transform: translate(50%);
}

.confirm .text {
  text-align: center;
  margin-top: 73px;
  box-sizing: border-box;
  margin-bottom: 54px;
}
</style>